import request from '@/utils/request'

// 查询提交申请列表
export function listManage(query) {
  return request({
    url: '/apply/manage/list',
    method: 'get',
    params: query
  })
}

// 查询提交申请详细
export function getManage(applyId) {
  return request({
    url: '/apply/manage/' + applyId,
    method: 'get'
  })
}

// 新增提交申请
export function addManage(data) {
  return request({
    url: '/apply/manage',
    method: 'post',
    data: data
  })
}

// 修改提交申请
export function updateManage(data) {
  return request({
    url: '/apply/manage',
    method: 'put',
    data: data
  })
}

// 删除提交申请
export function delManage(applyId) {
  return request({
    url: '/apply/manage/' + applyId,
    method: 'delete'
  })
}
